package com.wang.ymcc.mapper;

import com.wang.ymcc.domain.CourseTeacher;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 课程和老师的中间表 Mapper 接口
 * </p>
 *
 * @author whale
 * @since 2022-10-25
 */
public interface CourseTeacherMapper extends BaseMapper<CourseTeacher> {
    @Select("select * from t_course_teacher where course_id = #{id}")
    List<CourseTeacher> selectByCourseId(Long id);
}
